<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!-- public quote -->
<%@include file="/jsp/comm_css_include.jsp"%>
<link href="${basePath }/css/timeline.css?v=2342" rel="stylesheet">
<!doctype html>
<html>
<head>
	<style type="text/css">
		#tabb {
		    border-top: 1px solid #e7eaec;
		}
	</style>
</head>
<body class="gray-bg">
	<div class="container creditbody">
		<div class="iboxtitle">
		 	<span><i class="glyphicon glyphicon-map-marker"></i>&nbsp;</span>
	     </div>
	   <div class="ibox-content ibox-con">
			<%@include file="/jsp/common_yw_include.jsp"%>
			<div class="business-manwife">修改原因</div>
			<div class="business-padding">
				<table cellpadding="0" cellspacing="0" border="0" class="infor-table list-table-detail">
					<tr>
						<td align="right"><label class="control-label np">修改原因：</label></td>
						<td>
							
							<div class="control-div np" id="apply_change_remarks" name="apply_change_remarks">${empty ywBusinessLoanEdit.remarks ? '-' : ywBusinessLoanEdit.remarks}</div>
						</td>
					</tr>
				</table>
			</div>
			
			<div class="business-manwife">订单信息</div>
			<div class="tche-padding tancQa">
				<table cellpadding="0" cellspacing="0" border="0" class="infor-table" id="used-car">
					<tr>
						<td align="right"><label class="control-label np">车辆性质：</label></td>
						<td>
							<input id="carType" name="carType" type="hidden"/>
							<input id="startDate" name="startDate" type="hidden" class="select-control" value='<fmt:formatDate value="${ywBusinessCar.startDate }" pattern="yyyy-MM-dd"/>' />
							<div class="control-div np">${ywBusinessCar.carTypeDisplay }</div>
						</td>
					   	<td align="right"><label class="control-label np">返利方式：</label>
						</td>
						<td>
							<div class="control-div np" id="">${empty ywBusinessLoanEdit.rebateTypeDisplay ? '-' : ywBusinessLoanEdit.rebateTypeDisplay}</div>
						</td> 
					</tr>
				</table>
			</div>
			
			<form class="form-horizontal buyinfor-form" id="commentFormma">
				<div class="business-manwife">垫款调整信息</div>
				<div class="tche-padding">
					<table cellpadding="0" cellspacing="0" border="0" class="thead-tabletz">
						<thead class="thead-a">
							<tr>
								<th>项目</th>
								<th>原值</th>
								<th>新值</th>
								<th>调整值</th>
							</tr>
						</thead>
						<tbody class="tbody-a">
							<tr>
								<td>贷款银行</td>
								<td>${hisYwBusinessLoan.loanBankDisplay }</td>
								<td>${ywBusinessLoanEdit.loanBankDisplay }</td>
								<td>${hisYwBusinessLoan.loanBank == ywBusinessLoanEdit.loanBank ? '-' : ywBusinessLoanEdit.loanBank}</td>
							</tr>
							
							<tr>
								<td>取整模式</td>
								<td>${hisYwBusinessLoan.ccol1Display }</td>
								<td>${ywBusinessLoanEdit.ccol1Display }</td>
								<td>${hisYwBusinessLoan.ccol1 == ywBusinessLoanEdit.ccol1 ? '-' : ywBusinessLoanEdit.ccol1Display}</td>
							</tr>
							
							<tr>
								<td>贷款模式</td>
								<td>${hisYwBusinessLoan.loanTypeDisplay }</td>
								<td>${ywBusinessLoanEdit.loanTypeDisplay }</td>
								<td>${hisYwBusinessLoan.loanType == ywBusinessLoanEdit.loanType ? '-' : ywBusinessLoanEdit.loanTypeDisplay}</td>
							</tr>
							
							<tr>
								<td>购入价</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.carPrice ? 0 : hisYwBusinessLoan.carPrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.carPrice ? 0 : ywBusinessLoanEdit.carPrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.carPrice - hisYwBusinessLoan.carPrice) ? '-' : (ywBusinessLoanEdit.carPrice - hisYwBusinessLoan.carPrice)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>实际贷款额</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.loanAmount ? 0 : hisYwBusinessLoan.loanAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.loanAmount ? 0 : ywBusinessLoanEdit.loanAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.loanAmount - hisYwBusinessLoan.loanAmount) ? '-' : (ywBusinessLoanEdit.loanAmount - hisYwBusinessLoan.loanAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly" /></td>
							</tr>
							
							<tr>
								<td>首付款</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.firstPaymentAmount ? 0 : hisYwBusinessLoan.firstPaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.firstPaymentAmount ? 0 : ywBusinessLoanEdit.firstPaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.firstPaymentAmount - hisYwBusinessLoan.firstPaymentAmount) ? '-' : (ywBusinessLoanEdit.firstPaymentAmount - hisYwBusinessLoan.firstPaymentAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>二手车估价</td>
								<td>
									<c:choose>
										<c:when test="${hisYwBusinessLoan.carType == '02' }">
											<input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.carEstimatePrice ? 0 : hisYwBusinessLoan.carEstimatePrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/>
										</c:when>
										<c:otherwise>
											<input class="tbody-control" type="number" value='0.00' readonly="readonly"/>
										</c:otherwise>
									 </c:choose>
								</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.carEstimatePrice ? 0 : ywBusinessLoanEdit.carEstimatePrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.carEstimatePrice - hisYwBusinessLoan.carEstimatePrice) ? 0 : (ywBusinessLoanEdit.carEstimatePrice - hisYwBusinessLoan.carEstimatePrice)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>二手车车龄(月)</td>
								<td>
									<c:choose>
										<c:when test="${hisYwBusinessLoan.carType == '02' }">
											<input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.carAge ? 0 : hisYwBusinessLoan.carAge}" pattern="0" maxFractionDigits="0"/>' readonly="readonly"/>
										</c:when>
										<c:otherwise>
											<input class="tbody-control" type="number" value='0' readonly="readonly"/>
										</c:otherwise>
								   </c:choose>
								<td>
									<c:choose>
										<c:when test="${ywBusinessLoanEdit.carType == '02' }">
											<input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.carAge ? 0 : ywBusinessLoanEdit.carAge}" pattern="0" maxFractionDigits="0"/>' readonly="readonly"/>
										</c:when>
										<c:otherwise>
											<input class="tbody-control" type="number" value='0' readonly="readonly"/>
										</c:otherwise>
								   </c:choose>
								 </td>
								<td>${hisYwBusinessLoan.carAge == ywBusinessLoanEdit.carAge ? '-' : ywBusinessLoanEdit.carAge}</td>
							</tr>
							
							<tr>
								<td>银行基准利率(%)</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.bankRate ? 0 : hisYwBusinessLoan.bankRate * 100}" pattern="0.0000" maxFractionDigits="4"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.bankRate ? 0 : ywBusinessLoanEdit.bankRate * 100}" pattern="0.0000" maxFractionDigits="4"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.bankRate - hisYwBusinessLoan.bankRate) ? 0 : (ywBusinessLoanEdit.bankRate - hisYwBusinessLoan.bankRate) *100}" pattern="0.0000" maxFractionDigits="4"/>'/></td>
							</tr>
							
							<tr>
								<td>贷款期限</td>
								<td><input class="tbody-control" value='${hisYwBusinessLoan.loanMonthDisplay }' readonly="readonly"/></td>
								<td><input class="tbody-control" value='${ywBusinessLoanEdit.loanMonthDisplay }' readonly="readonly"/></td>
								<td>${hisYwBusinessLoan.loanMonthDisplay == ywBusinessLoanEdit.loanMonthDisplay ? '-' : ywBusinessLoanEdit.loanMonthDisplay}</td>
							</tr>
							
							<tr>
								<td>按揭服务费</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.servicePrice ? 0 : hisYwBusinessLoan.servicePrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.servicePrice ? 0 : ywBusinessLoanEdit.servicePrice}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.servicePrice - hisYwBusinessLoan.servicePrice) ? 0 : (ywBusinessLoanEdit.servicePrice - hisYwBusinessLoan.servicePrice)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>签约公司利率(%)</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.companyRate ? 0 : hisYwBusinessLoan.companyRate * 100}" pattern="0.0000" maxFractionDigits="4"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.companyRate ? 0 : ywBusinessLoanEdit.companyRate * 100}" pattern="0.0000" maxFractionDigits="4"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.companyRate - hisYwBusinessLoan.companyRate) ? 0 : (ywBusinessLoanEdit.companyRate - hisYwBusinessLoan.companyRate)* 100}" pattern="0.0000" maxFractionDigits="4"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>签约贷款额</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.signLoanAmount ? 0 : hisYwBusinessLoan.signLoanAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.signLoanAmount ? 0 : ywBusinessLoanEdit.signLoanAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.signLoanAmount - hisYwBusinessLoan.signLoanAmount) ? 0 : (ywBusinessLoanEdit.signLoanAmount - hisYwBusinessLoan.signLoanAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>签约总还款额</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.totalRepaymentAmount ? 0 : hisYwBusinessLoan.totalRepaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.totalRepaymentAmount ? 0 : ywBusinessLoanEdit.totalRepaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.totalRepaymentAmount - hisYwBusinessLoan.totalRepaymentAmount) ? 0 : (ywBusinessLoanEdit.totalRepaymentAmount - hisYwBusinessLoan.totalRepaymentAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>银行利息</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.bankRateAmount ? 0 : hisYwBusinessLoan.bankRateAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.bankRateAmount ? 0 : ywBusinessLoanEdit.bankRateAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.bankRateAmount - hisYwBusinessLoan.bankRateAmount) ? 0 : (ywBusinessLoanEdit.bankRateAmount - hisYwBusinessLoan.bankRateAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>签约月还款额</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.amountMonthly ? 0 : hisYwBusinessLoan.amountMonthly}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.amountMonthly ? 0 : ywBusinessLoanEdit.amountMonthly}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.amountMonthly - hisYwBusinessLoan.amountMonthly) ? 0 : (ywBusinessLoanEdit.amountMonthly - hisYwBusinessLoan.amountMonthly)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>签约首月还款额</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.firstMonthTotalAmount ? 0 : hisYwBusinessLoan.firstMonthTotalAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.firstMonthTotalAmount ? 0 : ywBusinessLoanEdit.firstMonthTotalAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.firstMonthTotalAmount - hisYwBusinessLoan.firstMonthTotalAmount) ? 0 : (ywBusinessLoanEdit.firstMonthTotalAmount - hisYwBusinessLoan.firstMonthTotalAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>每月本金还款额</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.monthlyPrincipalAmount ? 0 : hisYwBusinessLoan.monthlyPrincipalAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.monthlyPrincipalAmount ? 0 : ywBusinessLoanEdit.monthlyPrincipalAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.monthlyPrincipalAmount - hisYwBusinessLoan.monthlyPrincipalAmount) ? 0 : (ywBusinessLoanEdit.monthlyPrincipalAmount - hisYwBusinessLoan.monthlyPrincipalAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							<tr>
								<td>签约首月还款总额</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.signFirstPaymentAmount ? 0 : hisYwBusinessLoan.signFirstPaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.signFirstPaymentAmount ? 0 : ywBusinessLoanEdit.signFirstPaymentAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.signFirstPaymentAmount - hisYwBusinessLoan.signFirstPaymentAmount) ? 0 : (ywBusinessLoanEdit.signFirstPaymentAmount - hisYwBusinessLoan.signFirstPaymentAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							<tr>
								<td>每月手续费</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.monthlyFee ? 0 : hisYwBusinessLoan.monthlyFee}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.monthlyFee ? 0 : ywBusinessLoanEdit.monthlyFee}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.monthlyFee - hisYwBusinessLoan.monthlyFee) ? 0 : (ywBusinessLoanEdit.monthlyFee - hisYwBusinessLoan.monthlyFee)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>首月本金还款额</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.firstMonthAmount ? 0 : hisYwBusinessLoan.firstMonthAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.firstMonthAmount ? 0 : ywBusinessLoanEdit.firstMonthAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.firstMonthAmount - hisYwBusinessLoan.firstMonthAmount) ? 0 : (ywBusinessLoanEdit.firstMonthAmount - hisYwBusinessLoan.firstMonthAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>首月手续费</td>                                     
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.firstMonthFee ? 0 : hisYwBusinessLoan.firstMonthFee}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.firstMonthFee ? 0 : ywBusinessLoanEdit.firstMonthFee}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.firstMonthFee - hisYwBusinessLoan.firstMonthFee) ? 0 : (ywBusinessLoanEdit.firstMonthFee - hisYwBusinessLoan.firstMonthFee)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>担保费率</td>                                     
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.trialAssureRate ? 0 : hisYwBusinessLoan.trialAssureRate}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.trialAssureRate ? 0 : ywBusinessLoanEdit.trialAssureRate}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.trialAssureRate - hisYwBusinessLoan.trialAssureRate) ? 0 : (ywBusinessLoanEdit.trialAssureRate - hisYwBusinessLoan.trialAssureRate)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>签约担保费</td>                                     
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.assureAmount ? 0 : hisYwBusinessLoan.assureAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.assureAmount ? 0 : ywBusinessLoanEdit.assureAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.assureAmount - hisYwBusinessLoan.assureAmount) ? 0 : (ywBusinessLoanEdit.assureAmount - hisYwBusinessLoan.assureAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>分期额度</td>                                     
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.stageAmount ? 0 : hisYwBusinessLoan.stageAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.stageAmount ? 0 : ywBusinessLoanEdit.stageAmount}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.stageAmount - hisYwBusinessLoan.stageAmount) ? 0 : (ywBusinessLoanEdit.stageAmount - hisYwBusinessLoan.stageAmount)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							
							<tr>
								<td>分期比例</td>                                     
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.fqbl ? 0 : hisYwBusinessLoan.fqbl}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.fqbl ? 0 : ywBusinessLoanEdit.fqbl}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.fqbl - hisYwBusinessLoan.fqbl) ? 0 : (ywBusinessLoanEdit.fqbl - hisYwBusinessLoan.fqbl)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							<tr>
								<td>经销商返利</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.rebateDealer ? 0 : hisYwBusinessLoan.rebateDealer}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.rebateDealer ? 0 : ywBusinessLoanEdit.rebateDealer}" pattern="0.00" maxFractionDigits="2"/>'readonly="readonly" /></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.rebateDealer - hisYwBusinessLoan.rebateDealer) ? 0 : (ywBusinessLoanEdit.rebateDealer - hisYwBusinessLoan.rebateDealer)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							<tr>
								<td>分公司展业费</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.rebateProvince ? 0 : hisYwBusinessLoan.rebateProvince}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly" /></td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.rebateProvince ? 0 : ywBusinessLoanEdit.rebateProvince}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
								<td><input class="tbody-control compare" type="text" value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.rebateProvince - hisYwBusinessLoan.rebateProvince) ? 0 : (ywBusinessLoanEdit.rebateProvince - hisYwBusinessLoan.rebateProvince)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr>
							<tr>
								<td>区域&业务员展业费</td>
								<td><input class="tbody-control" type="number" value='<fmt:formatNumber type="number" value="${empty hisYwBusinessLoan.rebateArea ? 0 : hisYwBusinessLoan.rebateArea}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly" /></td>
								<td><input class="tbody-control" type="number"  value='<fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.rebateArea ? 0 : ywBusinessLoanEdit.rebateArea}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly" /></td>
								<td><input class="tbody-control compare" type="text"  value='<fmt:formatNumber type="number" value="${empty (ywBusinessLoanEdit.rebateArea - hisYwBusinessLoan.rebateArea) ? 0 : (ywBusinessLoanEdit.rebateArea - hisYwBusinessLoan.rebateArea)}" pattern="0.00" maxFractionDigits="2"/>' readonly="readonly"/></td>
							</tr> 
		
						</tbody>
					</table>
				</div>
			</form>
			
			<div class="business-manwife new_d1 new_d2">新值相关验算</div>
			<div class="business-padding new_d1 new_d2">
				<table cellpadding="0" cellspacing="0" border="0"
					class="infor-table list-table-detail">
					<tr>
						<td align="right"><label class="control-label np">首付比例(%)：</label>
						</td>
						<td>
							<div class="control-div np" id="new_loan_sfbl" name="sfbl"><fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.sfbl ? 0 : ywBusinessLoanEdit.sfbl * 100}" pattern="0.0000" maxFractionDigits="4"/></div>
						</td>
						<td align="right"><label class="control-label np">总还款/车价(%)：</label>
						</td>
						<td>
							<div class="control-div np" id="new_loan_zhkcj" name="zhkcj"><fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.zhkcj ? 0 : ywBusinessLoanEdit.zhkcj * 100}" pattern="0.0000" maxFractionDigits="4"/></div>
						</td>
		
						<td align="right"><label class="control-label np">签约贷款额/车价(%)：</label>
						</td>
						<td>
							<div class="control-div np" id="new_loan_qyhkcj" name="qyhkcj"><fmt:formatNumber type="number" value="${empty ywBusinessLoanEdit.qyhkcj ? 0 : ywBusinessLoanEdit.qyhkcj * 100}" pattern="0.0000" maxFractionDigits="4"/></div>
						</td>
					</tr>
				</table>
			</div>
			
			<div class="business-manwife">审核信息</div>
			<div class="business-padding">
				<table cellpadding="0" cellspacing="0" border="0" class="thead-tabletz">
						<thead class="thead-a">
							<tr>
								<th>业务流程</th>
								<th>经办部门</th>
								<th>经办人</th>
								<th>处理时间</th>
								<th>处理结果</th>
								<!-- <th>审批详情</th>
								<th>审批批注</th> -->
							</tr>
						</thead>
						<tbody class="tbody-a" id="tbodyLength">
							<c:if test="${empty otherAuditInfos }">
								<tr>
									<td>-</td>
									<td>-</td>
									<td>-</td>
									<td>-</td>
									<td>-</td>
								</tr>
							</c:if>
							<c:if test="${!empty otherAuditInfos }">
								<c:forEach items="${otherAuditInfos }" var="otherAuditInfo" varStatus="status">
									<tr class="createdTimeTr">
										<td>${otherAuditInfo.auditName }</td>
										<td>${otherAuditInfo.orgName }</td>
										<td>${otherAuditInfo.creatorName }</td>
										<td class="createdTime">${otherAuditInfo.created }</td>
										<td>${otherAuditInfo.auditStatusDisplay }</td>
										<%-- <td><a title="${otherAuditInfo.auditDetail }">查看</a></td>
										<td><a title="${otherAuditInfo.auditPostil }">查看</a></td> --%>
									</tr>
								</c:forEach>
							</c:if>
							
						</tbody>	
				</table>
			</div>
		</div>
	</div>	
	
	<!-- public quote -->
    <%@include file="/jsp/comm_js_include.jsp"%>
    <script type="text/javascript">
	    jQuery(function($) {  
	    	$(".tbody-a tr").each(function(){
	    		var compareVal = $(this).find(".compare").val();
	    		if(compareVal == "0.00" || compareVal == "0.0000"){
	    			$(this).find(".compare").val('-');
	    		}
	    	})
	    	
	    	$("#tbodyLength .createdTime").each(function(){
				var createdTime = $(this).text();
				$(this).text(formateIntegerDate(createdTime));
			})
	    });
    </script>
</body>
</html>
